Skip to main content
Version: 5.x.x

AppManagerOptionsType


import { AppManagerOptionsType } from "@hyper-fetch/core"

Description

Defined in managers/app/app.manager.types.ts:1

Preview

type AppManagerOptionsType = {
focusEvent: (setFocused: (isFocused: boolean) => void) => void;
initiallyFocused: boolean | () => boolean | Promise<boolean>;
initiallyOnline: boolean | () => boolean | Promise<boolean>;
onlineEvent: (setOnline: (isOnline: boolean) => void) => void;
}

Structure

{
focusEvent: (setFocused: (isFocused: boolean) => void) => void;
initiallyFocused: boolean | () => boolean | Promise<boolean>;
initiallyOnline: boolean | () => boolean | Promise<boolean>;
onlineEvent: (setOnline: (isOnline: boolean) => void) => void;
}